Photoshop Tutorials, Flash Tutorials, 3Ds Studio Max Tutorials, Web Design Tutorials

Home  |  Submit Tutorial  |  Top Sites  |  Free Templates (NEW)  |  Website templates  |  Privacy Policy  |  Link Exchange  |  Contact Us

Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!

Welcome To ProDesignHost.com Flash Tutorials Area - How to Make Flash (.swf) Transparent?

There are two ways to make flash file transparent, one is to export as a transparent file when you are publishing from Macromedia Flash and another to insert a line of code in the HTML. We will cover both ways in this tutorial.

Browsers that support flash transparency:

  • Internet Explorer 3 or higher (Windows)
  • Internet Explorer 5.1* and 5.2* (Macintosh)
  • Netscape 7.0*
  • Mozilla 1.0 or higher*
  • AOL*
  • CompuServe*

* Macromedia Flash Player version 6,0,65,0 (Windows) or 6,0,67,0 (Macintosh) or higher required for this feature.

1. First let's look at the first one, publishing flash file (.swf) as a transparent file. Open a new file in your Macromedia Flash and draw circle in the middle with any color. Now save your file and go to File > Publish Settings or press Ctrl+Shift+F12. You should see the following window. In this window go to HTML tab and select Transparent Windowless from Window Mode. And press Publish.

image 1

Now your file is saved as a transparent swf. To be able to check the transparency of your file go and change the background color of your page (which was generated by Flash) from white to some other color. If you have followed correctly you should see only your circle on your background color, without the white rectangle around it.

2. Let's see the second way of making flash transparent. Rarely you will use the Flash generated page in your homepages, most of the time you will be inserting a flash file into your existing page. This second way of making flash file transparent is suitable for the latter.

Open your page that you would like to insert flash file with Dreamweaver or with any other HTML Editor and insert a flash file inside it. Click on the flash file and go to the code view mode.

You would see a code similar to the following:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="100">
<param name="movie" value="images/trans.swf">
<param name="quality" value="high">
<embed src="images/trans.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="100"></embed>
</object>

What you have to do now is to insert a line of code inside this code, telling that this flash should be transparent. Here is the revised code. New code is shown in bold.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="100">
<param name="movie" value="images/trans.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="images/trans.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.
com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="100"></embed>
</object>

Just insert this line of code in green color after the last <param name="... code and add to wmode="transparent" the <embed src="... And you should have a transparent flash file!

Advertisements

Premium Partners

  Free Website Templates - Flash templates, Affordable Website Design, Website Templates, Website Redesign, Custom Website Design, Web Design Tutorials, Flash Tutorials, Promotion Tutorials - that is what we do. Metamorphosis Design Studio offers quality, free and low cost web site templates for your business and personal life, we also offer affordable web design and site re-design.
  Vertex Website Tempales - It saves tones of time and money to use pre-made web designs to build your web site. You need a web site but you don't want to pay thousands dollars to professional web design companies? Our web templates is just for you! They are designed to be easilly edited by your favorite html editor, like MS FrontPage
  Website Design Tutorials - Web site design is an area that simply takes experience to perfect. Get started with these tutorials covering everything from page layout to content tips. At Webdesigntutorials.net you will find all the Web-building tutorials you need, from basic HTML and XHTML to advanced Adobe Photoshop, Macromedia Flash MX and 3D Studio Max software.
Free website templates and paid web templates are great tools to make your websites look perfect! You will save time and money with our flash templates and free website templates Our visitors are satisfied with the quality of our free and paid website templates! Please visit our free website templates and paid website templates sections. We offer free web templates, free web layouts, free web page templates and other stuff for free download. All templates come with the html and external css file so you may easily edit HTML with your favorite HTML editor. Feel free to download our free web templates for your personal websites.

Terms of use depend upon the website template vendor.

Home  |  Submit Tutorial  |  Top Sites  |  Free Templates  |  Website templates  |  Privacy Policy  |  Contact Us

All Right Reserved by ProDesignHost.com